package com.ssims.service.sale;

import main.java.ssims.front.dao.sc.ISaleCheckDAO;
import main.java.ssims.front.entity.SaleCheckEntity;
import main.java.ssims.front.service.BaseService;
import main.java.ssims.front.service.sc.ISaleCheckService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Created by coliza on 2014/8/18.
 */
@Transactional
@Service("saleCheckService")
public class SaleCheckService extends BaseService implements ISaleCheckService {

    @Autowired
    private ISaleCheckDAO saleCheckDAO;
    @Override
    public List<SaleCheckEntity> queryByParams() {
        return saleCheckDAO.query();
    }
}
